package com.yuchen.ishop.goods;

import com.yuchen.ishop.entity.GoodsImg;

import com.yuchen.jaxrs.Responses;

import java.util.Map;

/**
 *
 */
public interface GoodsImgService {

     GoodsImg get(Long id);

     Responses insert(GoodsImg goodsImg);

     Responses delete(Long id);

     Responses changeType(Map params);

     Responses findByGoodsId(Long goodsId);

     String getMainImg(Long goodsId);

     Responses deleteByGoodsId(Long goodsId);
}
